<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>

    <session-factory>
        <!--  HSQL connection -->
        <property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
        <property name="connection.url">jdbc:hsqldb:file:hsqldb/storage</property>
        <property name="connection.username">sa</property>
        <property name="connection.password"></property>

        <!-- JDBC connection pool (use the built-in) -->
        <property name="connection.pool_size">2</property>

        <!-- SQL dialect -->
        <property name="dialect">org.hibernate.dialect.HSQLDialect</property>

        <!-- Echo all executed SQL to stdout -->
        <property name="show_sql">true</property>

        <!-- Drop and re-create the database schema on startup
       <property name="hbm2ddl.auto">create</property>-->

        <!--<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>-->
        <!--  thread is the short name for
          org.hibernate.context.ThreadLocalSessionContext
          and let Hibernate bind the session automatically to the thread
        -->
        <property name="current_session_context_class">thread</property>
        <!-- this will show us all sql statements -->
        <property name="hibernate.show_sql">true</property>
        <!-- this will create the database tables for us -->
        <!--<property name="hibernate.hbm2ddl.auto">create</property>-->
        <!--<mapping resource="de/laliluna/example/Honey.hbm.xml" />-->
        <mapping class="com.multinodus.satteliteexplorer.db.entities.DataCenter"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.Equipment"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.EquipmentType"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.Orbit"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.Region"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.Role"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.Sat"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.Task"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.User"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.SceneVariant"/>
        <mapping class="com.multinodus.satteliteexplorer.db.entities.Schedule"/>
    </session-factory>

</hibernate-configuration>
